<template>
  <div class="cn-text-block-wrapper">
    <div class="cn-text-block">
      <div>
        <div>
          {{ block.content }}
        </div>
      </div>
    </div>
  </div>
</template>

<script lang="ts" setup>
import { PropType, toRefs } from 'vue';
import { type CnBlock } from '../types';

const props = defineProps({
  block: {
    type: Object as PropType<CnBlock>,
    required: true,
  },
});
const { block } = toRefs(props);
</script>
